// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// mint-ui
import 'mint-ui/lib/style.css'
import MintUI from 'mint-ui'
Vue.use(MintUI)
import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
// mui
// import './assets/lib/mui/css/mui.min.css'
// vuex
import store from './vuex/index.js'
// 自定义插件库封装常用方法
import Plugin from './assets/plugin/index.js'
Vue.use(Plugin)
// 动态修改title
import VueWechatTitle from 'vue-wechat-title'
Vue.use(VueWechatTitle)
// 引入公共样式
import './assets/css/reset.css'
// 引入屏幕适配文件
import 'lib-flexible'
Vue.config.productionTip = false
/* eslint-disable no-new */
const vue = new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
export default vue